import request from '@/utils/request'



/*物料工序产量效能*/
export function planYieldSearch(data) {
  return request({
    url: `/report/shaftMaterial/foundedPlan`,
    method: 'get',
    data
  })
}

/*考勤数据*/
export function pushTheTime(data) {
  return request({
    url: `/report/shaftMaterial/selectCountProductLine`,
    method: 'post',
    data
  })
}

/*系统各项数据*/
export function getSystemManager(data) {
  return request({
    url: `/report/shaftMaterial/selectSystemData`,
    method: 'get',
    data
  })
}

// export function queryLabel(data) {
//   return request({
//     url: `/report/shaftMaterial/selectLabelData`,
//     method: 'get',
//     data
//   })
// }


export function queryLabel2(data) {
  return request({
    url: `/report/shaftMaterial/selectLabelData2`,
    method: 'get',
    data
  })
}

export function queryViolation(data) {
  return request({
    url: `/report/shaftMaterial/selectViolationMessage`,
    method: 'get',
    data
  })
}
